<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title> 隐私政策 </title>
		<style type="text/css">
			html{
				padding-top: 20px;
			}
			h4{
				text-align: center;
			}
			.content{
				line-height: 25px;
			}
			.contentBox{
				/* padding-top: 30px; */
			}
		</style>
	</head>
	<body>
		<div class="contentBox">
			<div class="loader" id="loader">
			  <p></p>
			</div>
			<div class="content" id="privacyContent">
				
			</div>
		</div>
		
		<script type="text/javascript">
			(function getPrivacyInfo(){
				// let baseUrl = 'http://yizhi.mlscd.cn/prod-api'
				let baseUrl = 'https://admin.yz-future.com/prod-api' 
				fetch(new Request(baseUrl +`/open/commons/copywriting?type=0`,{
				    method:'get', 
				    headers: {'Content-Type': 'application/x-www-form-urlencoded'},
				})).then(res => res.json())
				.then(res =>{
					setTimeout(()=>{
						let privacyContent = document.querySelector('#privacyContent')
						console.log('getPrivacyInfo',res)
						privacyContent.innerHTML = res.data.content;
						// 隐藏loading
						loader.style.display = 'none';
					},2000)
				})  
			})()
		</script>
	</body>
</html>